import { env } from '../../../package-env'

/**
 * 音频相关服务地址：唤醒服务、asr服务
 */
export const AudioServer = {
  ASR_SERVER_URL : 'http://192.168.88.253:8701', // asr服务器地址,端口8700一句话识别，8701实时语音识别
  LOCAL_SERVER_PORT : 9876, // 本地唤醒端口号
  XF_APP_ID: '5005378d', // 讯飞唤醒app_id
  WAKEUP_EXE_NAME: 'main.exe' // 唤醒服务名称
}

/**
 * 视频通话接口
 */
const VideoCallServerMap = {
  development: ['https://test-janus.xmov.ai:443/janus'],
  dev: ['https://test-janus.xmov.ai:443/janus'],
  test: ['https://test-janus.xmov.ai:443/janus'],
  production: ['https://janus.xmov.ai:443/janus'],
  private: ['https://janus-dtione.ciccwm.com/janus'],
}
export const VideoCallServer = VideoCallServerMap[env]

/**
 * http请求接口地址
 */
const httpServerMap = {
  development: 'https://test-ifall.xmov.ai',
  dev: 'https://test-ifall.xmov.ai',
  test: 'https://test-ifall.xmov.ai',
  production: 'https://ifall.xmov.ai',
  private: 'https://ifall-dtione.ciccwm.com',
}
export const httpServer = httpServerMap[env]